
# 这题困难，没做出来
class Solution:
    def countSpecialNumbers(self, n: int) -> int:
        for i in range(1,n):
            if

n = 20
aa = Solution()
bb = aa.countSpecialNumbers(n)
print(bb)